package com.zhao.dota.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhao.dota.bo.PlayerMax;
import com.zhao.dota.contant.PerformanceFieldConst;
import com.zhao.dota.model.Performance;
import com.zhao.dota.model.Player;

import java.util.List;

public interface PerformanceService extends IService<Performance> {

    int saveList(List<Performance> list);

    List<Performance> findByMatchId(Integer matchId);

    Performance countByPlayer(Player player, int limit);

    PlayerMax max(PerformanceFieldConst field, Long steamId);

}
